<!doctype html>
<html lang="en" ng-app="betsApp">
<head profile="http://www.w3.org/2005/10/profile">
    <link rel="icon" href="img/ev.jpg" type="image/jpeg" />
    <meta charset="utf-8">
    <title ng-bind="'EddeVedde &mdash; ' + title">betsApp</title>
    <link rel="stylesheet" href="css/app.css">
    <link rel="stylesheet" href="css/bootstrap.css"> 
    <link rel="stylesheet" href="css/datetimepicker.css"> 
    <link rel="stylesheet" href="css/trNgGrid.min.css" />
    
    <script src="js/angular.js"></script>
    <script src="js/angular-route.js"></script>
    <script src="js/controllers.js"></script>
    <script src="js/app.js"></script>
    <script src="js/angular-moment.min.js"></script>
    <script src="js/moment.min.js"></script>
    <script src="js/ui-bootstrap-tpls-0.10.0.min.js"></script>
    <script type="text/javascript" src="js/datetimepicker.js"></script>

    <script src="js/trNgGrid.min.js"></script>
</head>
<body ng-controller="SessionController">



<header class="header">
    <div class="navbar navbar-inverse navbar-fixed-top" style="font-size:18px">
        <div class="navbar-inner-mod">
            <div class="container">
                
                <ul class="nav">
                    <li class="divider-vertical"></li>
                    <li><a href="/edvd-web/" style="color: white"><i class="icon-home icon-white"></i>EddeVedde</a></li>
                    <li class="divider-vertical" ng-show="loggedOn"></li>
                    <li class="dropdown" ng-show="loggedOn">
                        <a style="color: white" href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-play-circle icon-white"></i>Events<b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="#create">Create</a></li>
                            <li><a href="#list">List</a></li>
                        </ul>
                    </li>
                    <li class="divider-vertical" ng-show="loggedOn"></li>

                    <li ng-show="loggedOn">
                        <a style="color: white" href="#usersettings">
                            <i class="icon-user icon-white"></i>You ({{username}})
                        </a>
                    </li>                    
                    
                    <li class="divider-vertical"></li>
                    <li class="dropdown">
                        <a style="color: white" href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-question-sign icon-white"></i>Learn<b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="http://beta.eddevedde.com/wordpress/" target="page">What is EddeVedde</a></li>
                            <li><a href="http://beta.eddevedde.com/wordpress/?page_id=16" target="page">Rules</a></li>
                        </ul>
                    </li>
                    <div class="pull-right">
                    
                    <li ng-hide="loggedOn"  style="font-size: 1.0em;font-style: oblique;color: white" >Log in
                        <div style="display: inline-block;line-height: 8px">
                            <form name="logonForm" action="app/lpw" method="POST" class="input-append">
                                <input type="text" name="email" style="height: 1em;padding-top: 0;padding-bottom: 1" class="input-small" autofocus/>
                                <input type="password" name="userpw" style="height: 1em;padding-top: 0;padding-bottom: 1" class="input-small"/>
                                <input type="Submit" value="Enter" style="height: 1.6em;padding-top: 0;padding-bottom: 0"/>
                            </form>
                        </div>

<alert ng-show="logonerror" type='danger' close="closeAlert()">Message</alert>

                    </li>
                    
                    </div>

                    <li class="divider-vertical"></li>
                    <li ng-show="loggedOn"><a style="color: white" href="app/logout"><i class="icon-off icon-white"></i>Log out</a></li>

                    <li ng-show="!loggedOn"><a href="#" style="color: white" ng-click="launch('create')"><i class="icon-user icon-white"></i></a></li>
                    

                    
                </ul>


            </div>
        </div>
    </div>

</header>



<div ng-show="!loggedOn">
    <div class="pagination-centered">
        <button class="btn btn-default" ng-click="newUser()">Register now</button>

    </div>
</div>



<div ng-view></div>

</body>
</html>
